package com.huang.function;

import java.util.function.Supplier;
/*
  没有参数只有返回值
* */
public class Demo4 {
    public static void main(String[] args) {
        Supplier<String> supplier=()->{return "aaa";};
        System.out.println(supplier.get());
    }
}
